import { Module } from '@nestjs/common';
import { AccessDictService } from './access-dict.service';
import { AccessDictController } from './access-dict.controller';
import { DictTypeModule } from "../../system/dict-type/dict-type.module";
import { TypeOrmModule } from '@nestjs/typeorm';
import { AccessDictHouse } from './access-dict-house.entity';
import { AccessDictRoom } from './access-dict-room.entity';

@Module({
	imports: [
		TypeOrmModule.forFeature([AccessDictHouse, AccessDictRoom]),
		DictTypeModule
	],
	controllers: [AccessDictController],
	providers: [AccessDictService],
	exports: [TypeOrmModule, AccessDictService],
})
export class AccessDictModule { }